﻿namespace ControleRepresentante.Logic.Models.Maps
{
    public class AttributeValueMap : MapBase<AttributeValue>
    {
        public AttributeValueMap()
        {
            Map(x => x.Value)
                .Nullable();
            References(x => x.Attribute)
                .Not.Nullable()
                .Cascade.None();
            References(x => x.AttributeHolder)
                .Not.Nullable()
                .Cascade.None();
        }
    }
}